package com.xk.sport.backend.dao.repository;

import com.xk.sport.backend.dao.model.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface AdminDao extends JpaRepository<Admin, Long>, JpaSpecificationExecutor<Admin> {
    Admin findAdminByNameAndPassword(String name, String password);
}
